package com.stock.project.system.stockorders.domain;

import com.stock.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 库存订单表 stock_orders
 * 
 * @author stock
 * @date 2019-03-14
 */
public class StockOrders extends BaseEntity {
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer id;
	/** 订单号 */
	private String orderId;
	/** 类型: 1:入库,2:出库 */
	private Integer type;
	/** 订单状态 */
	private Integer status;
	/** 商品编码 */
	private String goodsCode;
	/** 商品名称 */
	private String goodsName;
	/** 渠道 */
	private String channel;
	/** 数量 */
	private Integer quantity;
	/** 价格 */
	private BigDecimal price;
	/** 仓库编码 */
	private String warehouseCode;
	/** 手机号 */
	private String phone;
	/** 收货人姓名 */
	private String name;
	/** 收货地址 */
	private String address;
	/** 创建时间 */
	private Date createTime;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setOrderId(String orderId) 
	{
		this.orderId = orderId;
	}

	public String getOrderId() 
	{
		return orderId;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setGoodsCode(String goodsCode) 
	{
		this.goodsCode = goodsCode;
	}

	public String getGoodsCode() 
	{
		return goodsCode;
	}
	public void setGoodsName(String goodsName) 
	{
		this.goodsName = goodsName;
	}

	public String getGoodsName() 
	{
		return goodsName;
	}
	public void setChannel(String channel) 
	{
		this.channel = channel;
	}

	public String getChannel() 
	{
		return channel;
	}
	public void setQuantity(Integer quantity) 
	{
		this.quantity = quantity;
	}

	public Integer getQuantity() 
	{
		return quantity;
	}
	public void setPrice(BigDecimal price) 
	{
		this.price = price;
	}

	public BigDecimal getPrice() 
	{
		return price;
	}
	public void setWarehouseCode(String warehouseCode) 
	{
		this.warehouseCode = warehouseCode;
	}

	public String getWarehouseCode() 
	{
		return warehouseCode;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public String getAddress() 
	{
		return address;
	}

}
